<?php

error_reporting(0);
session_start();
error_reporting(1);

$threadId = $_POST['threadId'];
if ($threadId)
{
	session_register('threadId');
	$_SESSION['threadId'] = $threadId;
	header("Location: frame.php?page=threads");
}
else
{
	header("Location: frame.php?page=home");
}
